﻿using System;
using YJKPatternSign.StairsRoomPlanSign.ModelLayer;

namespace YJKPatternSign.StairsRoomPlanSign.ControlLayer
{
	public class DoubleStairsDetctor : BaseStairsKindDetector
	{
		public DoubleStairsDetctor()
		{
			this.m_thisStairsKind = StairsKindEnum.DoubleStairs;
		}

		public override bool DetectThisStairs(SignUseStairsPacker inputStairPackers)
		{
			return inputStairPackers.LstAllSameLevelStairsPacker.Count > 0 && inputStairPackers.LstAllSameLevelStairsPacker[0].LstStairs.Count == 1;
		}
	}
}
